package model

import "time"

type QuantAccountLog struct {
	ID                         int       `gorm:"column:ID_"`
	Date                       time.Time `gorm:"column:DATE_"`
	AccountName                string    `gorm:"column:ACCOUNT_NAME"`
	HoldStockNumber            int       `gorm:"column:HOLD_STOCK_NUMBER"`
	StockAssets                float64   `gorm:"column:STOCK_ASSETS"`
	CapitalAssets              float64   `gorm:"column:CAPITAL_ASSETS"`
	TotalAssets                float64   `gorm:"column:TOTAL_ASSETS"`
	TotalStampDuty             float64   `gorm:"column:STAMP_DUTY"`
	TotalRegistrateFeeWhenBuy  float64   `gorm:"column:TOTAL_REGISTRATE_FEE_WHEN_BUY"`
	TotalCommissionWhenBuy     float64   `gorm:"column:TOTAL_COMMISSION_WHEN_BUY"`
	TotalRegistrateFeeWhenSell float64   `gorm:"column:TOTAL_REGISTRATE_FEE_WHEN_SELL"`
	TotalCommissionWhenSell    float64   `gorm:"column:TOTAL_COMMISSION_WHEN_SELL"`
	Ma5                        float64   `gorm:"column:MA5"`
	Ma10                       float64   `gorm:"column:MA10"`
	Ma20                       float64   `gorm:"column:MA20"`
	Ma60                       float64   `gorm:"column:MA60"`
	Ma120                      float64   `gorm:"column:MA120"`
	Ma250                      float64   `gorm:"column:MA250"`
	Bias5                      float64   `gorm:"column:BIAS5"`
	Bias10                     float64   `gorm:"column:BIAS10"`
	Bias20                     float64   `gorm:"column:BIAS20"`
	Bias60                     float64   `gorm:"column:BIAS60"`
	Bias120                    float64   `gorm:"column:BIAS120"`
	Bias250                    float64   `gorm:"column:BIAS250"`
}

type QuantAccountLogArray []*QuantAccountLog
